import request from '@/utils/request'
// 行政管理单位 API接口
const std_admuserApi = {
  list: '/Std_admuser/list',
  delete: '/Std_admuser/delete',
  checkSave:'/Std_admuser/checkSave',
  listDetail:'/Std_admuser/listDetail',
}

/**
 * 查询被申请人类
 */
export function std_admuserList (body) {
  return request({
    url: std_admuserApi.list,
    method: 'post',
    data: body
  })
}

/**
 * 移除关联人员
 */
export function deleteStd_admuser (id) {
  return request({
    url: std_admuserApi.delete,
    method: 'post',
    params: {id}
  })
}

/**
 * 校验并保存人员
 */
export function checkSave(body){
  return request({
    url: std_admuserApi.checkSave,
    method:'post',
    data:body
  })
}

/**
 * 行政管理单位关联赣政通人员表详情列表
 */
export function listDetail(body){
  return request({
    url: std_admuserApi.listDetail,
    method:'post',
    data:body
  })
}